package com.trsj.lnsj.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 
 */
@Table(name="tab_signup_record")
@Entity
public class SignupRecord  implements Serializable {
    /**
     * 报名
     */
	@Id
	@Column(name ="id")
	private Integer id;
	@Column(name ="user_id")
	private Integer userId;
	@Column(name ="activity_id")
	private Integer activityId;
	@Column(name ="status")
    private int status;
	@Column(name ="phone_number")
	private String phoneNumber;
	@Column(name ="real_name")
	private String realName;
	@Column(name ="IDNUM")
	private String IDNUM;
	@Column(name ="order_id")
	private String orderId;
	

    public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	private static final long serialVersionUID = 1L;

    
    
    
    
    public SignupRecord() {
		super();
	}

	public SignupRecord(Integer userId, Integer activityId,String phoneNumber) {
		super();
		this.userId = userId;
		this.activityId = activityId;
		this.phoneNumber=phoneNumber;
	}




	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}


	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getIDNUM() {
		return IDNUM;
	}

	public void setIDNUM(String IDNUM) {
		this.IDNUM = IDNUM;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}